package com.ocl.www.mapper;

import com.ocl.www.domain.UserFavorite;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserFavoriteMapper {

    public int insertFavorite(UserFavorite userFavorite) throws  Exception;

    public int deleteFavorite(UserFavorite userFavorite) throws  Exception;


    List<UserFavorite> selectFavorites(UserFavorite userFavorite) throws  Exception;

    List<UserFavorite> selectFavoritesCount(UserFavorite userFavorite) throws  Exception;
}
